package ModelLayer;

public class People {
	private int id;
	private String name;
	private String address;
	private String phoneNO;
	private Location location;

	
	public People (int id, String name, String address, String phoneNO){
		this.id = id;
		this.name = name;
		this.address = address;
		this.phoneNO = phoneNO;
		
	}
	
	public People(){
		id = 0;
		name = "";
		address = "";
		phoneNO = "";
		location = new Location();
	}
	
	//get methods
	
	public int getId(){
		return id;
	}
	
	public String getName(){
		return name;
		
	}
	
	public String getAddress(){
	return address;
	
	}
	public String getPhoneNO(){
		return phoneNO;
	}
	
	public Location getLocation(){
		return location;
	}
	
	//set methods
	
	public void setLocation(Location location){
		this.location = location;
	}
	
	public void setId(int id){
		this.id = id;
	}
	
	public void setName(String name){
		this.name = name;
	}
	public void setAddress(String address){
		this.address = address;
	}
	
	public void setPhoneNO(String phoneNO){
		this.phoneNO = phoneNO;
	}
}
